#include <iostream>

using namespace std;

int main ()
{
	double epsilon = 1;
	double b;
	for (int i = 0; i < 100; i++ )
	{
		epsilon = epsilon/2;
		b = 1 + epsilon;
		if ( b == 1 )
		{
			cout << i << endl;
			break;
		}
	}
	cout << "epsilon:" << epsilon << endl;
	return 0;
}
